export default defineNuxtRouteMiddleware((to, from) => {
  // if (to.path?.includes('/peopleHealth/questSurvey') || ['/peopleHealth/survey', '/peopleHealth/outKnowledge'].includes(to.path)) {
  //   // 检测是否登录
  //   const userStore = useUserStore()
  //   if (userStore.isLogin)
  //     return
  //   ElNotification.warning({
  //     title: '提示',
  //     message: '请先登录',
  //   })
  //   userStore.setLoginVisible(true)
  //   return abortNavigation('111')
  // }
})
